package com.yxzx.api.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CourseReq {
    //一级分类
    @ApiModelProperty("分类id")
    private Integer categoryId;

    //二级分类
    @ApiModelProperty(value = "科目id",hidden = true)
    private Integer subjectId;

    @ApiModelProperty(value = "授课方式",notes = "1 录播 2 直播 3 面授")
    private Integer teachType;

    @ApiModelProperty(value = "排序方式",notes = "0 默认排序 1 销量 2 新品 3 价格降序 4 价格升序" )
    private Integer sortType;

    @ApiModelProperty(value = "价格类型",notes = "1 收费 2 免费")
    private Integer priceType;


    //价格区间
    @ApiModelProperty("起始价格")
    private Integer startPrice;
    @ApiModelProperty("结束价")
    private Integer endPrice;

    //分页
    @ApiModelProperty("页号")
    private Integer pageNo=1;
    @ApiModelProperty("每页条数")
    private Integer pageSize=8;

}
